package 分隔数字串获取3的倍数问题.src.main;

public class Main {
    public static int solution(String n) {
        // write code here



        return 0;
    }

    public static void main(String[] args) {
        System.out.println(solution("1123") == 2);
        System.out.println(solution("300") == 3);
        System.out.println(solution("987654321") == 6);
    }
}